import request from '@/utils/request'

export const getLibrary = (id:number) => {
  return request.get('/User/NexusSphere/library/list',{
    params:{
      id
    }
  });
}

export const getInfoAPI = (id:number) => request.get(`/User/NexusSphere/library/${id}`);

export const getLibraryListAPI = (nexusToolLibrary:object) => request.get('/User/NexusSphere/library/search/toolLibrary',{
  params:nexusToolLibrary
});